home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / SUBmods / RunProg.h < prev    next >
Text File  |  1996-09-10  |  679b  |  20 lines

  1. {*
  2. ** External subprogram declaration for the library module RunProg.o, 
  3. ** which allows a program to be executed with control over stack size
  4. ** and retrieval of AmigaDOS return code. RunProg returns -1 if an
  5. ** error has occurred when attempting to execute the program.
  6. **
  7. ** Requires version 36 or higher of the OS (Wb 2.x/3.x).
  8. **
  9. ** See also ace.doc, "Creating & using ACE subprogram modules".
  10. **
  11. ** This file should reside in ACEinclude: so that #include <RunProg.h>
  12. ** can be used in programs linked with RunProg.o.
  13. **  
  14. ** Author: David J Benn
  15. **   Date: 5th March 1995
  16. *}
  17.  
  18. DECLARE SUB LONGINT RunProg(STRING theProg, STRING theArgs, ~
  19.                 LONGINT stackSize) EXTERNAL
  20.